public class Test07 {
    public static void main(String[] args) {
        Student stu1 = new Student();
        stu1.name="张三";
        stu1.age=18;
        System.out.println(
            "姓名："+stu1.name+",年龄："+stu1.age
        );
        stu1.study("java");
    }
}